<?php
class clazz{
    const sex = 'nv';
   public function __call($method,$a){
       echo $method();
   }
}

echo clazz::sex;
$clazz = new clazz();
$clazz->oop();